package org.csu.pet_store_2.Service;

import org.csu.pet_store_2.Domain.Cart;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

public interface CartService {
    public String additemtocart(String userId,String itemId,Integer quantity);
    public String deletefromcart(String userId,String itemId);
    public ArrayList<Cart> getCartByUserId(String userId);
    public String updatequantity(String userId,String itemId,Integer quantity);
    public String cleancart(@RequestParam("id") String userid);
}
